home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 12331 / 12331.xpi / chrome / content / aniweather.xul < prev    next >
Extensible Markup Language  |  2009-10-19  |  10KB  |  94 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://aniweather/content/bindings.css" type="text/css"?>
  4. <?xml-stylesheet href="chrome://aniweather/skin/aniweather.css" type="text/css"?>
  5.  
  6. <!DOCTYPE window SYSTEM "chrome://aniweather/locale/settings.dtd">
  7. <overlay id="aniweather" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  8.  
  9.  
  10. <script type="application/x-javascript" charset="utf-8" src="chrome://aniweather/content/aniweather.js"/>         
  11.  
  12. <statusbar id="status-bar">
  13.     <tooltip id="aniweather.statusTooltip" >
  14.       <label value="&aniweather.settings.tooltip_title;" style="font-weight:bold;"/>
  15.       <label value=" "/>
  16.       <label value="&aniweather.settings.tooltip_leftclick;" style="color: red;"/>
  17.       <label value="&aniweather.settings.tooltip_rightclick;" />
  18.     </tooltip>
  19.  
  20.     <popupset>
  21.       <popup id="aniweather-status-context-menu" position="before_end">
  22.                 <menu id="aniweather_status-graphic-menu" label="&aniweather.settings.graphicreports;" >
  23.                 <menupopup id="aniweather-status-graphic-popup">
  24.                     <menuitem oncommand="AniWeatherObj.onGraphic(null, 'alert');" label="&aniweather.settings.alert;" value="13"/>
  25.                     <menuitem oncommand="AniWeatherObj.onGraphic(null, 'national');" label="&aniweather.settings.national;" value="11"/>
  26.                     <menuitem oncommand="AniWeatherObj.onGraphic(null, 'vapor');" label="&aniweather.settings.satellite;" value="6"/>
  27.                     <menuitem oncommand="AniWeatherObj.onGraphic(null, 'radar');" label="&aniweather.settings.radar;" value="7"/>
  28.                     <menuitem oncommand="AniWeatherObj.onGraphic(null, 'uv');" label="&aniweather.settings.uv;" value="8"/>
  29.                     <menuitem oncommand="AniWeatherObj.onGraphic(null, 'pop');" label="&aniweather.settings.pop;" value="9"/>
  30.                     <menuitem oncommand="AniWeatherObj.onGraphic(null, 'high');" label="&aniweather.settings.temperature;" value="10"/>
  31.                     <menuitem oncommand="AniWeatherObj.onGraphic(null, 'air');" label="&aniweather.settings.air;" value="12"/>
  32.                 </menupopup>    
  33.                 </menu>                
  34.                 <menu id="aniweather_status-location-menu" label="&aniweather.settings.animated;" >
  35.                     <menupopup id="aniweather-status-location-popup" onpopupshowing="AniWeatherObj.updateLocationPopup(event);">
  36.                         <menuitem  />
  37.                     </menupopup>                
  38.                 </menu>        
  39.                 <menu id="aniweather_status-hourly-menu" label="&aniweather.settings.hourly;" >
  40.                     <menupopup id="aniweather-status-hourly-popup" onpopupshowing="AniWeatherObj.updateLocationPopup(event);">
  41.                         <menuitem  />
  42.                     </menupopup>                
  43.                 </menu>        
  44.                 <menu id="aniweather_status-10day-menu" label="&aniweather.settings.10days;" >
  45.                     <menupopup id="aniweather-status-10day-popup" onpopupshowing="AniWeatherObj.updateLocationPopup(event);">
  46.                         <menuitem  />
  47.                     </menupopup>                
  48.                 </menu>                        
  49.                 <menuitem oncommand="AniWeatherObj.updateNow();" label="&aniweather.settings.updatenow;" key="&aniweather.settings.updatenowkey;" value="14"/>
  50.                 <menuseparator/>
  51.                 <menuitem oncommand="AniWeatherObj.supportAniWeather();" label="&aniweather.settings.support;" key="&aniweather.settings.supportkey;" value="2"/>
  52.                 <menuitem oncommand="AniWeatherObj.improveAniWeather();" label="&aniweather.settings.improve;" key="&aniweather.settings.improvekey;" value="3"/>
  53.                 <menuitem oncommand="AniWeatherObj.visitAniWeather();" label="&aniweather.settings.visit;" key="&aniweather.settings.visitkey;" value="4"/>
  54.                 <menuitem oncommand="AniWeatherObj.visitTWC();" label="&aniweather.settings.twc;" value="15"/>
  55.                 <menuitem oncommand="AniWeatherObj.help();" label="&aniweather.settings.help;" key="&aniweather.settings.helpkey;" value="1" />
  56.                 <menuseparator/>
  57.                 <menuitem oncommand="AniWeatherObj.setAniWeather();" label="&aniweather.settings.setting;" key="&aniweather.settings.settingkey;" value="5"/>
  58.       </popup>
  59.     </popupset>
  60.     
  61.     <statusbarpanel id="aniweather_canvas" class="chromeclass-toolbar-additional">
  62.     <box id="aniweather_box" orient="horizontal" style="vertical-align:middle;">
  63.   <awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.onGraphic(event, 'alert');"  style="cursor:pointer; display:none;" id="aniweatherpanel_alert"><image src='chrome://aniweather/skin/alert.png' id="aniweatherstatus_alert"  style="padding:0;" /></awcanvas>
  64.     
  65.   <awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.onGraphic(event, 'national');"  style="cursor:pointer; display:none;" id="aniweatherpanel_national"><image src='chrome://aniweather/skin/national.png' id="aniweatherstatus_national"  style="padding:0;" /></awcanvas>
  66.   
  67.   <awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.onGraphic(event, 'vapor');"  style="cursor:pointer; display:none;" id="aniweatherpanel_vapor"><image src='chrome://aniweather/skin/satellite.png' id="aniweatherstatus_satellite"  style="padding:0;"/></awcanvas>
  68.   
  69.   <awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.onGraphic(event, 'radar');"  style="cursor:pointer; display:none;" id="aniweatherpanel_radar"><image src='chrome://aniweather/skin/radar.png' id="aniweatherstatus_radar"  style="padding:0;"/></awcanvas>
  70.      
  71.   <awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.onGraphic(event, 'uv');"  style="cursor:pointer; display:none;" id="aniweatherpanel_uv"><image src='chrome://aniweather/skin/uv.png' id="aniweatherstatus_uv"  style="padding:0;"/></awcanvas> 
  72.  
  73.   <awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.onGraphic(event, 'pop');"  style="cursor:pointer; display:none;" id="aniweatherpanel_pop"><image src='chrome://aniweather/skin/pop.png' id="aniweatherstatus_pop"  style="padding:0;"/></awcanvas>
  74.  
  75.   <awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.onGraphic(event, 'high');"  style="cursor:pointer; display:none;" id="aniweatherpanel_high"><image src='chrome://aniweather/skin/high.png' id="aniweatherstatus_temp"  style="padding:0;"/></awcanvas>
  76.  
  77.   <awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.onGraphic(event, 'air');"  style="cursor:pointer; display:none;" id="aniweatherpanel_air"><image src='chrome://aniweather/skin/air.png' id="aniweatherstatus_air"  style="padding:0;"/></awcanvas>
  78.  
  79.   <awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.getWeatherDetails(event);"  style="cursor:pointer;vertical-align:middle; " id="aniweatherpanel_current"><label id="aniweatherlabel_current" value="Now: " style="margin:0px;padding:0px; " /><image src='chrome://aniweather/skin/aniweatherlogo.png' id="aniweatherstatus_current" style="vertical-align:middle; " /><label style="display:none;" id="flagReport" value="" /></awcanvas>
  80.     
  81.   <awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.getWeatherDetails(event);"  style="cursor:pointer; display:none;" id="aniweatherpanel_today"><label  id="aniweatherlabel_today" value="Today: " style="margin:0px;padding:0px;" /><image src='chrome://aniweather/skin/aniweatherlogo.png' id="aniweatherstatus_today"  style="padding:0 2px 0 2px;"/></awcanvas> 
  82.     
  83.   <awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.getWeatherDetails(event);"  style="cursor:pointer; display:none;" id="aniweatherpanel_2nd"><label  id="aniweatherlabel_2nd" value="2nd: " style="margin:0px;padding:0px;" /><image src='chrome://aniweather/skin/aniweatherlogo.png' id="aniweatherstatus_2nd"  style="padding:0 2px 0 2px;"/></awcanvas>     
  84.     
  85.   <awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.getWeatherDetails(event);"  style="cursor:pointer; display:none;" id="aniweatherpanel_3rd"><label  id="aniweatherlabel_3rd" value="3rd: " style="margin:0px;padding:0px;" /><image src='chrome://aniweather/skin/aniweatherlogo.png' id="aniweatherstatus_3rd"  style="padding:0 2px 0 2px;"/></awcanvas> 
  86.     
  87.   <awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.getWeatherDetails(event);"  style="cursor:pointer; display:none;" id="aniweatherpanel_4th"><label  id="aniweatherlabel_4th" value="4th: " style="margin:0px;padding:0px;" /><image src='chrome://aniweather/skin/aniweatherlogo.png' id="aniweatherstatus_4th"  style="padding:0 2px 0 2px;"/></awcanvas>     
  88.     
  89.   <awcanvas context="aniweather-status-context-menu" onmouseover = "AniWeatherObj.onPrepareReport(event);" onmouseout="AniWeatherObj.cancelReport('');" onclick="AniWeatherObj.getWeatherDetails(event);"  style="cursor:pointer; display:none;" id="aniweatherpanel_5th"><label  id="aniweatherlabel_5th" value="5th: " style="margin:0px;padding:0px;" /><image src='chrome://aniweather/skin/aniweatherlogo.png' id="aniweatherstatus_5th"  style="padding:0 2px 0 2px;"/></awcanvas> 
  90.   </box>
  91.   </statusbarpanel> 
  92. </statusbar> 
  93.  
  94. </overlay>